package com.example.wac.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.wac.entity.Email;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 邮件发送表 Mapper 接口
 * </p>
 *
 * @author wac
 * @since 2021-12-31
 */
@Mapper
public interface EmailMapper extends BaseMapper<Email> {

    /**
     * 根据id查询邮件记录
     *
     * @param page
     * @return
     */
    List<Email> selectList(@Param("page") Page<Email> page);
}
